/*
Name:digger_plugin
Author: Terry Dong
Description: data entity
*/
using System;
using System.Data;
namespace Gammar.Digger.Entity
{
    [Serializable]
    public class digger_pluginEntity
    {
        public const string TableName = "digger_plugin";
        public const string IdentityColumn = "plugin_id";
        #region constructors
        public digger_pluginEntity()
        { }

        public digger_pluginEntity(int? plugin_id, string name, string start_url, bool? is_download_image, bool? is_download_flash, int? max_number, string list_area_rule, string list_url_rule, string list_nextpage_rule, string content_url_rule, string content_nextpage_rule, string content_title_rule, string content_detail_rule, string content_originalprice_rule, string content_saleprice_rule, string content_createdate_rule, bool? is_valid, long? create_time, long? last_modify_time, int? dig_depth, int? run_status, int? thread_number, int? site_id, Guid? category_id, string page_encode)
        {
            this._plugin_id = plugin_id;

            this._name = name;

            this._start_url = start_url;

            this._is_download_image = is_download_image;

            this._is_download_flash = is_download_flash;

            this._max_number = max_number;

            this._list_area_rule = list_area_rule;

            this._list_url_rule = list_url_rule;

            this._list_nextPage_rule = list_nextpage_rule;

            this._content_url_rule = content_url_rule;

            this._content_nextPage_rule = content_nextpage_rule;

            this._content_title_rule = content_title_rule;

            this._content_detail_rule = content_detail_rule;

            this._content_originalPrice_rule = content_originalprice_rule;

            this._content_salePrice_rule = content_saleprice_rule;

            this._content_CreateDate_rule = content_createdate_rule;

            this._is_valid = is_valid;

            this._create_time = create_time;

            this._last_modify_time = last_modify_time;

            this._dig_depth = dig_depth;

            this._run_status = run_status;

            this._thread_number = thread_number;

            this._site_id = site_id;

            this._category_id = category_id;

            this._page_Encode = page_encode;

        }
        #endregion

        #region Fileds


        private int? _plugin_id;


        private string _name;


        private string _start_url;


        private bool? _is_download_image;


        private bool? _is_download_flash;


        private int? _max_number;


        private string _list_area_rule;


        private string _list_url_rule;


        private string _list_nextPage_rule;


        private string _content_url_rule;


        private string _content_nextPage_rule;


        private string _content_title_rule;


        private string _content_detail_rule;


        private string _content_originalPrice_rule;


        private string _content_salePrice_rule;


        private string _content_CreateDate_rule;


        private bool? _is_valid;


        private long? _create_time;


        private long? _last_modify_time;


        private int? _dig_depth;


        private int? _run_status;


        private int? _thread_number;


        private int? _site_id;


        private Guid? _category_id;


        private string _page_Encode;

        #endregion

        #region Properties
        public int? plugin_id
        {
            set { this._plugin_id = value; }
            get { return this._plugin_id; }
        }

        public string name
        {
            set { this._name = value; }
            get { return this._name; }
        }

        public string start_url
        {
            set { this._start_url = value; }
            get { return this._start_url; }
        }

        public bool? is_download_image
        {
            set { this._is_download_image = value; }
            get { return this._is_download_image; }
        }

        public bool? is_download_flash
        {
            set { this._is_download_flash = value; }
            get { return this._is_download_flash; }
        }

        public int? max_number
        {
            set { this._max_number = value; }
            get { return this._max_number; }
        }

        public string list_area_rule
        {
            set { this._list_area_rule = value; }
            get { return this._list_area_rule; }
        }

        public string list_url_rule
        {
            set { this._list_url_rule = value; }
            get { return this._list_url_rule; }
        }

        public string list_nextPage_rule
        {
            set { this._list_nextPage_rule = value; }
            get { return this._list_nextPage_rule; }
        }

        public string content_url_rule
        {
            set { this._content_url_rule = value; }
            get { return this._content_url_rule; }
        }

        public string content_nextPage_rule
        {
            set { this._content_nextPage_rule = value; }
            get { return this._content_nextPage_rule; }
        }

        public string content_title_rule
        {
            set { this._content_title_rule = value; }
            get { return this._content_title_rule; }
        }

        public string content_detail_rule
        {
            set { this._content_detail_rule = value; }
            get { return this._content_detail_rule; }
        }

        public string content_originalPrice_rule
        {
            set { this._content_originalPrice_rule = value; }
            get { return this._content_originalPrice_rule; }
        }

        public string content_salePrice_rule
        {
            set { this._content_salePrice_rule = value; }
            get { return this._content_salePrice_rule; }
        }

        public string content_CreateDate_rule
        {
            set { this._content_CreateDate_rule = value; }
            get { return this._content_CreateDate_rule; }
        }

        public bool? is_valid
        {
            set { this._is_valid = value; }
            get { return this._is_valid; }
        }

        public long? create_time
        {
            set { this._create_time = value; }
            get { return this._create_time; }
        }

        public long? last_modify_time
        {
            set { this._last_modify_time = value; }
            get { return this._last_modify_time; }
        }

        public int? dig_depth
        {
            set { this._dig_depth = value; }
            get { return this._dig_depth; }
        }

        public int? run_status
        {
            set { this._run_status = value; }
            get { return this._run_status; }
        }

        public int? thread_number
        {
            set { this._thread_number = value; }
            get { return this._thread_number; }
        }

        public int? site_id
        {
            set { this._site_id = value; }
            get { return this._site_id; }
        }

        public Guid? category_id
        {
            set { this._category_id = value; }
            get { return this._category_id; }
        }

        public string page_Encode
        {
            set { this._page_Encode = value; }
            get { return this._page_Encode; }
        }

        #endregion
    }
}

